From acc1333ba4bfc216aeb0db96dbd4d4fbff5f495b Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Tue, 16 Apr 2013 04:39:47 +0200 Subject: [PATCH] src/minibuf.c (Ftest_completion): Silence compiler warning. --- src/ChangeLog | 4 ++++ src/minibuf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 7ae8e7ade1e..6445727f08a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2013-04-16 Juanma Barranquero + + * minibuf.c (Ftest_completion): Silence compiler warning. + 2013-04-15 Eli Zaretskii * w32fns.c (w32_wnd_proc): Add more assertions to investigate diff --git a/src/minibuf.c b/src/minibuf.c index 4cc1f8d435a..b96d27e0742 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -1799,8 +1799,8 @@ the values STRING, PREDICATE and `lambda'. */) else if (HASH_TABLE_P (collection)) { struct Lisp_Hash_Table *h = XHASH_TABLE (collection); - i = hash_lookup (h, string, NULL); Lisp_Object key = Qnil; + i = hash_lookup (h, string, NULL); if (i >= 0) tem = HASH_KEY (h, i); else -- 2.30.2